package com.easy.mapper;

import com.easy.bean.Room_type;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Room_typeDao {
    int add(@Param("param") Room_type  room_type);
    int del(@Param("id")Integer id);
    int edit(@Param("param")Room_type  room_type);
    Room_type one(@Param("id")Integer id);
    List<Room_type> all(@Param("param")Room_type  room_type);

    int pageCount(@Param("param")Room_type  room_type);
    List<Room_type> page(@Param("page") Page page, @Param("param")Room_type  room_type);

}
